package com.cw.exception.callback.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.cw.exception.callback.api.ExceptionCallbackApi;
import com.cw.exception.callback.impl.ExceptionCallbackApiImpl;

/**
 * 异常回调配置
 *
 * @author chenw
 * @date 2020/07/12 15:52:00
 */
@Configuration
public class ExceptionCallbackConfiguration {

    @Bean
    public ExceptionCallbackApi initExceptionCallbackApi() {
        return new ExceptionCallbackApiImpl();
    }
}
